package com.owc.domain.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author xiaom
 * @Date 2020/2/28 16:25
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("产品列表(admin)")
public class ProductWithAdminDTO implements Serializable {

    @ApiModelProperty("产品ID")
    private Long id;

    @ApiModelProperty("产品名称")
    private String name;

    @ApiModelProperty("创建人名称")
    private String createName;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;

    @ApiModelProperty("订单数")
    private Integer orderCount;

    @ApiModelProperty("排序值")
    private Integer order;

    @ApiModelProperty("状态 1(上架) -1(下架) 5(前台隐藏) 10(售完)")
    private Integer status;
}
